<!--WARNING: This file is maintained by ROO! IT WILL BE OVERWRITTEN unless you specify null	@RooWebScaffold(automaticallyMaintainView = false) in the governing controller-->
<jsp:directive.include file="/WEB-INF/jsp/includes.jsp"/>
<jsp:directive.include file="/WEB-INF/jsp/header.jsp"/>
<script type="text/javascript">dojo.require("dijit.TitlePane");</script>
<div dojoType="dijit.TitlePane" style="width: 100%" title="Update EmployeeList">
    <form:form action="/roo/employeelist/${employeelist.id}" method="PUT" modelAttribute="employeelist">
        <div id="roo_employeelist_name">
            <label for="name">Name:</label>
            <form:input cssStyle="width:250px" maxlength="30" path="name" size="0"/>
            <br/>
            <form:errors cssClass="errors" path="name"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "name", widgetType : "dijit.form.ValidationTextBox", widgetAttrs : {promptMessage: "Enter Name (required)", invalidMessage: "", required : true}})); </script>
        </div>
        <br/>
        <div id="roo_employeelist_comment">
            <label for="comment">Comment:</label>
            <form:textarea cssStyle="width:250px;height:25em" path="comment"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "comment", widgetType: "dijit.form.Textarea", widgetAttrs: {value: ""}})); </script>
            <br/>
            <form:errors cssClass="errors" path="comment"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "comment", widgetType : "dijit.form.ValidationTextBox", widgetAttrs : {promptMessage: "Enter Comment", invalidMessage: "", required : false}})); </script>
        </div>
        <br/>
        <div id="roo_employeelist_createDate">
            <label for="createDate">Create Date:</label>
            <form:input cssStyle="width:250px" maxlength="30" path="createDate" size="0"/>
            <br/>
            <form:errors cssClass="errors" path="createDate"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "createDate", widgetType : "dijit.form.ValidationTextBox", widgetAttrs : {promptMessage: "Enter Create Date", invalidMessage: "", required : false}})); </script>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "createDate", widgetType : "dijit.form.DateTextBox", widgetAttrs : {datePattern : "MM/dd/yyyy", required : false}})); </script>
        </div>
        <br/>
        <div id="roo_employeelist_employee">
            <c:if test="${not empty employees}">
                <label for="employee">Employee:</label>
                <form:select cssStyle="width:250px" path="employee">
                    <form:options itemValue="id" items="${employees}"/>
                </form:select>
                <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "employee", widgetType: "dijit.form.MultiSelect")); </script>
            </c:if>
        </div>
        <br/>
        <div class="submit" id="roo_employeelist_submit">
            <script type="text/javascript">Spring.addDecoration(new Spring.ValidateAllDecoration({elementId:'proceed', event:'onclick'}));</script>
            <input id="proceed" type="submit" value="Update"/>
        </div>
        <form:hidden path="id"/>
        <form:hidden path="version"/>
    </form:form>
</div>
<jsp:directive.include file="/WEB-INF/jsp/footer.jsp"/>
